package com.it.d1_polymorphism;

public class Teacher extends People {
    public String name = "子类Teacher的名称";

    // 方法重写
    @Override
    public void run() {
        System.out.println("老师跑");
    }
}
